package cn.iocoder.yudao.module.demo.controller.admin.fileinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @author li_hai
 */
@Schema(description = "管理后台 - demo文件信息新增/修改 Request VO")
@Data
public class DemoFileInfoSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31050")
    private Long id;

    @Schema(description = "文件名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "绩效考核")
    @NotEmpty(message = "文件名字不能为空")
    private String name;

    @Schema(description = "路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "路径不能为空")
    private String path;

}
